package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.UserDto;
import com.zzyl.vo.UserVo;

/**
 * @Description UserService
 * @Author loe
 * @Date 2024-07-15
 */
public interface UserService {

    /**
     * 分页查询
     * @param userDto
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<UserVo> limitSearch(UserDto userDto, Integer pageNum, Integer pageSize);

    /**
     * 用户新增
     * @param userDto
     */
    void insertUser(UserDto userDto);

    /**
     * 用户修改
     * @param userDto
     */
    void update(UserDto userDto);

    /**
     * 启用禁用
     * @param id
     * @param status
     */
    void updateStatus(Long id, String status);

    /**
     * 删除用户
     * @param userIds
     */
    void delete(String userIds);
}
